-----------------------------------
-- Area: Lower Jeuno
-- NPC: Morefie
-- Standard Merchant NPC
-----------------------------------

require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");

-----------------------------------
-- onTrade Action
-----------------------------------

function onTrade(player,npc,trade)
end; 

-----------------------------------
-- onTrigger Action
-----------------------------------

function onTrigger(player,npc)
	
player:showText(npc,MOREFIE_SHOP_DIALOG);

stock = {0x3c5a,50000, -- Alchemists Belt
         0x3dd1,50000, -- Alchemists Ring
         0x383e,50000, -- Alchemists Apron
         0x42a2,50000, -- Caduceus
         0x3c56,50000, -- Goldsmiths Belt
         0x3dcd,50000, -- Goldsmiths Ring
         0x383a,50000, -- Goldsmiths Apron
         0x3679,50000, -- Shaded Spectacles
         0x3c58,50000, -- Tanners Belt
         0x39f0,50000, -- Tanners Gloves
         0x3dcf,50000, -- Tanners Ring 
         0x383c,50000, -- Tanners Apron
         0x3c55,50000, -- Blacksmiths Belt
         0x39ef,50000, -- Smithys Mitts 
         0x3dcc,50000, -- Smiths Ring
	 0x3839,50000} -- Blacksmiths Apron
 
showShop(player, STATIC, stock);
end; 

-----------------------------------
-- onEventUpdate
-----------------------------------

function onEventUpdate(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;

-----------------------------------
-- onEventFinish
-----------------------------------

function onEventFinish(player,csid,option)
--printf("CSID: %u",csid);
--printf("RESULT: %u",option);
end;



